<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.thymeleaf.org"
      layout:decorator="layout/pc_master">
<div layout:fragment="content" class="section page-content">
<!--    <link rel="stylesheet" href="/pc/css/center/setmeal/info.js">-->
    <!-- s: 导航 -->
    <div class="breadcrumb-wrap">
        <div class="layui-main clearfix">
            <div class="breadcrumb">
                <a href="/">首页</a> - <a href="/center">用户中心</a> - 联系方式
            </div>
        </div>
    </div>

    <!-- e: 导航 -->
    <div class="section page-content">
        <div class="layui-main clearfix">

         <div th:include="layout/center_left :: center_left" class="manage-aside"></div>

            <div class="manage-main">
                <ul class="layui-nav nav main-nav">
                    <li class="layui-nav-item">
                        <a href="/center/contact">
                            我的联系方式
                        </a>
                    </li>
                    <li class="layui-nav-item layui-this">
                        <a href="/center/contact/mycontact">
                            我申请的
                        </a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="/center/contact/contactme">
                            申请我的
                        </a>
                    </li>

                    <span class="layui-nav-bar" style="left: 156px; top: 57px; width: 0px; opacity: 0;"></span></ul>
                <div class="main-content">

                    <div class="layui-form">
                        <table class="layui-table">
                            <colgroup>
                                <col>

                                <col width="170">
                                <col width="100">
                            </colgroup>
                            <thead>
                            <tr>
                                <th>用户</th>
                                <th>申请时间</th>
                                <th>状态</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr th:each="item:${contactList}">
                                <td>
                                    <a class="lists_user" target="_blank" th:href="'/single/info/'+${item.userId}">
                                        <img class="photo" th:src="${item.photo}+'_50x50.jpg'" onerror="nofind_img()">
                                        <span class="user_info">
							        		<h6 class="nickname" th:text="${item.nickname}"></h6>
							        		<p class="info">
							        			[[${item.age}]]岁 .
							        			[[${item.incomeCn}]]元 .
							        			[[${item.industryCn}]]
							        		</p>
						        		</span>
                                    </a>
                                </td>
                                <td>[[${#dates.format(item.createTime, 'yyyy-MM-dd HH:mm')}]]</td>
                                <td>
                                    <font th:if="${item.agree eq 1}" class="array_check_1">已同意</font>
                                    <font th:if="${item.agree eq 2}" class="array_check_2">被拒绝</font>
                                    <font th:if="${item.agree eq 3}" class="array_check_3">待处理</font>
                                    <font th:if="${item.agree eq 4}" class="array_check_4">已超时</font>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>

                    <!-- s: 分页 -->
                    <div class="manage-pagination-wrap" th:utext="${page}">
                    </div>
                    <!-- e: 分页 -->

                </div>

            </div>

        </div>
    </div>





</div>
<div layout:fragment="contentFooter">

</div>
</html>